import request from '@/utils/request'

// 获取门店
export function getStore(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}

// 获取方案列表
export function getInfo(data,page) {
    return request({
        url: '/Wx_sign_in_management/sign_in_plan_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}

// 列表方案分页
export function getInfoPage(data) {
    return request({
        url: '/Wx_sign_in_management/sign_in_plan_page',
        method: 'post',
        data: data
    })
}

// 门店某年签到记录
export function storeConfigInfo(data) {
    return request({
        url: '/Wx_sign_in_management/store_config_plan_info',
        method: 'post',
        data: data
    })
}

// 修改
export function storeConfigPlan(data) {
    return request({
        url: '/Wx_sign_in_management/store_config_plan',
        method: 'post',
        data: data
    })
}

// 方案详情
export function signDetails(data) {
    return request({
        url: '/Wx_sign_in_management/sign_in_plan_info',
        method: 'post',
        data: data
    })
}